Below are the guidelines that apply to customizing a client letter template. Read them carefully. Before attempting to create your own letter, have a good look at the default letter to familiarize yourself with the rules and conditions, and to use as a model.
FormattingThe client letter does not require any special formatting or control codes other than the ones supplied in this document. Make sure that your letter does not include any unknown control codes as they could and would cause problems.
Control codesThe following is a list of the control codes used in the client letter.
LetterheadIf you wish to use your own letterhead, make sure that the setting for printing the address of the firm on the client letter is correct. Do so in the Printing defaults, within the User's defaults of the Preferences menu. Otherwise, DT Max will print your name and address as entered in the Identification section.To enable you to use your letterhead, DT Max will skip 1.8" at the top of the first page. If your letterhead requires more space, give yourself additional room by adding blank lines or by changing the %TM (top margin) setting.
Adding a conditional paragraphFirst, note the convention of using "v" to refer to a variable number from the list of variables available.Go to the position where you want to add the paragraph, then enter the condition by using %IF followed by the condition itself in parentheses. If you want the paragraph to appear whenever the variable mentioned in the paragraph is not equal to "0", enter the condition as follows:
%IF(%v!=0) Then, type the desired text into the letter, entering the variable as %v, and end the statement by entering %ENDIF. For example, if you want to tell your clients how much they can contribute to an RRSP without making an overcontribution, look up the relevant variable in the list. You will find that it is %49. Then, type the following (in your own words):
%IF(%49>0) You can contribute %49 to a RRSP. We recommend that you do so at the earliest possible opportunity to avoid the interest for as great a period as possible. %ENDIF If, on the other hand, you feel that this will only be of interest to clients who can make a contribution of at least $1000, your condition would change accordingly:
%IF(%49>1000) You can contribute %49 to a RRSP. We recommend that you do so at the earliest possible opportunity to avoid the interest for as great a period as possible. Ensure that a blank line appears between each paragraph. To do so, enter %NL after the %IF that introduces the paragraph. SignatureIf you wish to use an image of your personal signature or a logo to accompany your signature in the client letter, you may do so by inserting the location of the bitmap file (a file with a ".bmp" suffix) created to that end next to your signature or in its place in the appropriate location within the client letter. For instance, if the .bmp file were named "signature" and saved in the folder "C:\temp", you would insert the following string into your client letter: {imageC:\temp\signature.bmp} Creating a new client letterThe best way to create a new client letter is to type it out completely as you want it to be. Whenever you wish to use a variable, substitute %v (that is % and the number of the applicable variable) for the corresponding words in your letter. Whenever you require a condition, enter it immediately before the text that is intended to be conditional.
For more insight on how to set up the client letter, look up the DT Max default client letter in the file DTnWLET.YYE ("n" represents the program number and "YY" represent the relevant tax year)
Error checkingIf you modify the client letter or create your own, please test your conditional paragraphs by recalculating several different clients (who should have different results) and viewing the letter with DT Max. This should enable to check for typos and logical problems (DT Max does not have a syntax or spell checker).
Particular valuesThere are special values available for use with the keywords Province and PROV-RES (T1):
1 Quebec 2 Newfoundland and Labrador 3 Prince Edward Island 4 Nova Scotia 5 New Brunswick 6 Ontario 7 Manitoba 8 Saskatchewan 9 Alberta 10 British Columbia 11 Yukon 12 North West Territories 18 Nunavut 13 Other A paragraph intended for taxpayers living in the Prairie provinces would be set up using:
%IF((%10=7) %OR (%10=8) %OR (%10=9)) (paragraph) %ENDIF If variable %10 (keyword PROV-RES) is used in an address, the name of the province will be printed. The following are available for variables whose value is Yes or No:
1 YES 2 NO
VerificationWhen you install a new version of DT Max, verify your customized client letter to make sure that changes in the program have not affected its accuracy.
For more information, see also ...June 27, 2005 |